<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>{:config('sys_name')}</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" href="__STATIC__/plugins/layui/css/layui.css" media="all" />
    <link rel="stylesheet" href="__ADMIN__/css/global.css" media="all">
    <link rel="stylesheet" href="__STATIC__/common/css/font.css" media="all">
    <script type="text/javascript" src="__STATIC__/common/js/jquery.2.1.1.min.js"></script>
    <script type="text/javascript" src="__STATIC__/plugins/layui/layui.js"></script>
    <style type="text/css">
        .body-back{background-color: #212121;}
    </style>

    {block name="head"}{/block}
    <script>
        var ADMIN = '__ADMIN__';
        //var navs = {$menus};
        //var currentURL="{$currentURL}";
    </script>
</head>
<body class="body-back skin-<?php if(!empty($_COOKIE['skin'])){echo $_COOKIE['skin'];}else{echo '0';setcookie('skin','0');}?>">
<div>
     {block name="main"}{/block}
</div>

<script src="__STATIC__/common/js/angular.min.js"></script>
 <script type="text/javascript" src="__ADMIN__/js/common.js"></script>
 <script src="__ADMIN__/js/index.js"></script>
{block name="footer"}{/block}
</body>
</html>